package com.ruoyi.generator.domain;/**
 * Created by NINGMEI on 2024/1/17.
 */

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author NINGMEI
 * @Date 2024/1/17 17:36
 * @Description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class GenSqlTable extends BaseEntity {

    /** 表名称 */
    @NotBlank(message = "表名称不能为空")
    private String tableName;
    /** 列属性 */
    @NotBlank(message = "列属性不能为空")
    private List<GenSqlColumn> tableColumn;
    /** 表描述 */
    @NotBlank(message = "表描述不能为空")
    private String tableComment;
    /** 表前缀 */
    private String tablePrefix;
}
